'''
author:ni
'''

from django.conf.urls import url, include
from django.contrib import admin

import xadmin
from post import views
from good_article.views import good_article, update_article, good_categories, good_articles_id, articles, \
    del_good_article

urlpatterns = [
    url(r'^article/',good_article, name='good_article'),
    url(r'^update_article/(\d+)/(\d+)/',update_article, name='update_article'),
    url(r'^good_categories', good_categories, name='good_categories'),
    url(r'^good_articles/(\d+)/', good_articles_id, name='good_articles_id'),
    url(r'^article/(\d+)/', articles, name='article'),
    url(r'^del_good_article/(\d+)/', del_good_article, name='del_good_article'),
]